package com.event.management.backend.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

/**
 * 操作日志详细信息DTO
 */
@Data
@ApiModel(description = "操作日志详细信息")
public class OperationLogDetailDTO {
    
    @ApiModelProperty(value = "日志ID", example = "1")
    private Integer id;
    
    @ApiModelProperty(value = "操作者ID", example = "1")
    private Integer operatorId;
    
    @ApiModelProperty(value = "操作者用户名", example = "admin")
    private String operatorName;
    
    @ApiModelProperty(value = "操作类型", example = "add")
    private String actionType;
    
    @ApiModelProperty(value = "操作类型描述", example = "添加")
    private String actionTypeDesc;
    
    @ApiModelProperty(value = "目标类型", example = "book")
    private String targetType;
    
    @ApiModelProperty(value = "目标类型描述", example = "图书")
    private String targetTypeDesc;
    
    @ApiModelProperty(value = "目标记录ID", example = "1")
    private Integer targetId;
    
    @ApiModelProperty(value = "操作描述", example = "添加了新图书《Java编程思想》")
    private String description;
    
    @ApiModelProperty(value = "操作时间", example = "2023-04-05 14:30:00")
    private Date operationTime;
    
    @ApiModelProperty(value = "操作IP地址", example = "192.168.1.1")
    private String ipAddress;
} 